package com.mybatis.Dao;

import java.util.List;
import java.util.Map;

import com.mybatis.entity.Department;
import com.mybatis.entity.Employee;

public interface IMemberMapper {
	public List<Employee> query();//查询所有信息
	public int getCount(Map<String,Object> map);//获取模糊查询总数量
	public List<Employee> queryBykey(Map<String,Object> map);//模糊查询
	public int update(Employee e);//编辑员工信息
	public int insert(Employee e);//添加员工信息
	public int delete(int id);//删除员工信息
	public List<Department> queryByDepartment();//查询部门信息
}
